package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.CommentSign;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICommentSignService {

    CommentSign get(Long id);

    List<CommentSign> listAll();

    void save(CommentSign commentSign);

    void update(CommentSign commentSign);

    PageInfo queryForList(QueryObject qo);

    void updateState(CommentSign commentSign);

    CommentSign selectByCommentId(Long commentId, Long userId);

    int queryGreatStatusCountByCommentId(Long commentId);

    int queryEnshrineStatusCountByCommentId(Long commentId);
}
